<?php

/**
 * ConsultaArticulo form.
 *
 * @package    catalogo
 * @subpackage form
 * @author     Your name here
 * @version    SVN: $Id: sfDoctrineFormTemplate.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
 */
class RespuestaArticuloForm extends BaseConsultaArticuloForm
{
  public function configure()
  {
    unset(
      $this['created_at'], $this['updated_at'], $this['orden'], $this['activa']
    );
    
    $this->widgetSchema['texto'] = new sfWidgetFormTextarea(
      array('label' => 'Respuesta'),
      array('rows' => '8', 'style' => 'width:300px')
    );    
    $this->widgetSchema['nombre'] = new sfWidgetFormInputHidden();
    $this->widgetSchema['email'] = new sfWidgetFormInputHidden();
    $this->widgetSchema['articulo_id'] = new sfWidgetFormInputHidden();  
    $this->widgetSchema['consulta_id'] = new sfWidgetFormInputHidden();
  }
}
